<!DOCTYPE html>
<html lang="zh">
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <title>信件工单退回审核</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="/css/font-awesome.min.css" rel="stylesheet"/>
    <!-- bootstrap-table 表格插件样式 -->
    <link href="/ajax/libs/bootstrap-table/bootstrap-table.min.css?v=20210602" rel="stylesheet"/>
    <link href="/css/animate.min.css" rel="stylesheet"/>
    <link href="/css/style.css?v=20200903" rel="stylesheet"/>
    <link href="/common/css/hm-ui.css?v=4.6.2" rel="stylesheet"/>

    <!--<th:block th:include="include :: select2-css" />-->
    <link href="/ajax/libs/bootstrap-switch/bootstrap-switch.min.css" rel="stylesheet">
    <link href="/ajax/libs/bootstrap-tagsinput/tagsinput.css" rel="stylesheet">
    <link href="/ajax/libs/jQuery-ui/jquery-ui.css" rel="stylesheet">
    <link href="/css/iconfont/iconfont.css" rel="stylesheet">
    <link href="/css/style.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/ajax/libs/qxEasyUI/themes/default/easyui.css">

</head>
<style>
    .row {
        margin-bottom: 3px;
    }
    .row-margin {
        margin-left: 5px;
        margin-right: 15px;
    }
</style>

<body style="background-color: #F4F6FA">
<div class="main-content" style="margin: 0;padding: 0">

    <form id="form-user-add" class="form-horizontal" style="background-color: #F4F6FA">
        <input type="hidden" name="wfId" value="1145671">
        <input type="hidden" name="pkId" value="450425">
        <input type="hidden" name="sortName" value="主办">
        <input type="hidden" name="sbdeptName" value="成华区">
        <input type="hidden" id="userRole" value="304">


        <div class="col-sm-12 grid-container" style="display: flex;justify-content: center">
            <div class="col-sm-8 entering-page">
                <div class="col-sm-12">
                    <div class="col-sm-12" style="display: flex;justify-content: space-between">
                        <div class="tltieBoder">
                            <div class="blueBorder"></div>
                            <h4 style="margin:0 0 0 10px">信件基本信息</h4>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">信件来源</label>
                            <div class="col-sm-8">
                                <input type="text" name="spareString" class="form-control"/>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">判重</label>
                            <div class="col-sm-8">
                                <div class="radio-inline">
                                    <label><input type="radio" name="repeatFlag" value="1" />是</label>
                                </div>
                                <div class="radio-inline">
                                    <label>
                                        <input type="radio" name="repeatFlag" value="0" />否
                                        <span>（是否重复来信）</span>
                                    </label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">流水号</label>
                            <div class="col-sm-8">
                                <input type="text" name="wsCode" class="form-control"/>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">查询码</label>
                            <div class="col-sm-8">
                                <input type="text" name="wsKey" class="form-control"/>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">地区</label>
                            <div class="col-sm-8">
                                <select name="fmAreaNo" class="form-control">
                                    <option value="-1">-请选择-</option>
                                    <option value="5101" selected="selected">成都市</option>
                                    <option value="510104">锦江区</option>
                                    <option value="510105">青羊区</option>
                                    <option value="510106">金牛区</option>
                                    <option value="510107">武侯区</option>
                                    <option value="510108">成华区</option>
                                    <option value="510109">高新区</option>
                                    <option value="510191">天府新区</option>
                                    <option value="510192">简阳市</option>
                                    <option value="510112">龙泉驿区</option>
                                    <option value="510113">青白江区</option>
                                    <option value="510114">新都区</option>
                                    <option value="510115">温江区</option>
                                    <option value="510181">都江堰市</option>
                                    <option value="510182">彭州市</option>
                                    <option value="510183">邛崃市</option>
                                    <option value="510184">崇州市</option>
                                    <option value="510121">金堂县</option>
                                    <option value="510122">双流区</option>
                                    <option value="510124">郫都区</option>
                                    <option value="510129">大邑县</option>
                                    <option value="510131">蒲江县</option>
                                    <option value="510132">新津县</option>
                                    <option value="909909">其它</option>
                                    <option value="909100">系统部门</option>
                                    <option value="909200">呼叫中心</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">地址</label>
                            <div class="col-sm-8">
                                <input type="text" name="fmAddress" class="form-control"/>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">来信人</label>
                            <div class="col-sm-8">
                                <input type="text" name="fromName" class="form-control"/>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">来信时间</label>
                            <div class="col-sm-8">
                                <input type="text" name="fromTime" class="form-control"/>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">联系电话</label>
                            <div class="col-sm-8">
                                <input type="text" name="fromTel" class="form-control"/>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <label class="col-sm-4 control-label">电子邮件</label>
                            <div class="col-sm-8">
                                <input type="text" name="fmEmail" class="form-control"/>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                            <label class="col-sm-2 control-label">主题</label>
                                <div class="col-sm-10">
                                    <div class="row-margin">
                                        <input type="text" name="fromTopic" class="form-control"/>
                                    </div>
                                </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-2 control-label">内容</label>
                        <div class="col-sm-10">
                            <div class="row-margin">
                                <textarea name="fmContent" rows="21" cols="80" class="form-control"></textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-sm-4 entering-page">
                <div class="col-sm-12">
                    <div class="col-sm-12 tltieBoder">
                        <div class="blueBorder"></div>
                        <h4 style="margin:0 0 0 10px">受理意见</h4>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">同意公开</label>
                        <div class="col-sm-8">
                            <div class="radio-inline">
                                <label><input type="radio" name="openFrom" value="1" />是</label>
                            </div>
                            <div class="radio-inline">
                                <label>
                                    <input type="radio" name="openFrom" value="0" />否
                                    <span>（来信人同意否）</span>
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">建议公开</label>
                        <div class="col-sm-8">
                            <div class="radio-inline">
                                <label><input type="radio" name="openX" value="1" />是</label>
                            </div>
                            <div class="radio-inline">
                                <label>
                                    <input type="radio" name="openX" value="0" />否
                                    <span>（效能办）</span>
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">诉求</label>
                        <div class="col-sm-8">
                            <select id="ddlTelSort" name="dfmClaNo" class="form-control">
                                <option value="-1">-请选择-</option>
                                <option value="10">咨询</option>
                                <option value="20">求助</option>
                                <option value="30">意见建议</option>
                                <option value="40">投诉举报</option>
                                <option value="50">表扬</option>
                                <option value="60">征集建言</option>
                                <option value="99">无效来电</option>
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">类别</label>
                        <div class="col-sm-8">
                            <select name="dfmClaNo" class="form-control">
                                <option value="-1">-请选择-</option>
                                <option value="10">咨询</option>
                                <option value="20">求助</option>
                                <option value="30">意见建议</option>
                                <option value="40">投诉举报</option>
                                <option value="50">表扬</option>
                                <option value="60">征集建言</option>
                                <option value="99">无效来电</option>
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">处理选项</label>
                        <div class="col-sm-8">
                            <div class="radio-inline">
                                <label><input type="radio" name="openX" value="1" />直接答复</label>
                            </div>
                            <div class="radio-inline">
                                <label>
                                    <input type="radio" name="openX" value="0" />无效来信
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">处理意见</label>
                        <div class="col-sm-8">
                            <select id="ddlWordS" class="form-control">
                                <option value="-1">---直接答复常用语---</option>
                                <option value="-110">请将详情发至我办</option>
                                <option value="-120">我办已转交相关部门阅处</option>
                                <option value="-130">信件内容为空白</option>
                                <option value="-140">感谢对成都市政府的关心和支持</option>
                                <option value="-150">没有说明上次写信的来信流水号</option>
                                <option value="-160">建议法律援助</option>
                                <option value="-170">不在成都范围（其它途径）</option>
                                <option value="-180">所述问题不详</option>
                                <option value="-190">不在成都范围（省长信箱）</option>
                                <option value="-200">驻蓉军部队或民航部门</option>
                                <option value="-210">向四川省通信管理局反映</option>
                                <option value="-220">成都分行银管部（85247962）</option>
                                <option value="-230">向同级人大或上级法院反映</option>
                            </select>
                        </div>
                        <div class="col-sm-10 col-sm-offset-2">
                            <textarea id="txtYdealDesc" name="ydealDesc" class="form-control" rows="11" cols="41"
                                      style="color: rgb(153, 153, 153);"></textarea>
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">处理部门</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" name="liftWorker" />
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">处理人</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" name="liftWorkNo" />
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">入库时间</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" name="xinputTime" />
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-4 control-label">备注</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" name="ysysDesc" />
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </form>
</div>

<script src="/ajax/libs/layui/laydate.js"></script>

<script> var ctx = "\/"; var lockscreen = null; if(lockscreen){window.top.location=ctx+"lockscreen";} </script>
<a id="scroll-up" href="#" class="btn btn-sm display"><i class="fa fa-angle-double-up"></i></a>
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<!-- bootstrap-table 表格插件 -->
<script src="/ajax/libs/bootstrap-table/bootstrap-table.min.js?v=20210602"></script>
<script src="/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js?v=20210602"></script>
<script src="/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.min.js?v=20210602"></script>
<script src="/ajax/libs/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js?v=20210602"></script>
<!-- jquery-validate 表单验证插件 -->
<script src="/ajax/libs/validate/jquery.validate.min.js"></script>
<script src="/ajax/libs/validate/messages_zh.min.js"></script>
<script src="/ajax/libs/validate/jquery.validate.extend.js"></script>
<!-- jquery-validate 表单树插件 -->
<script src="/ajax/libs/bootstrap-table/extensions/tree/bootstrap-table-tree.min.js?v=20210602"></script>
<!-- 遮罩层 -->
<script src="/ajax/libs/blockUI/jquery.blockUI.js"></script>
<script src="/ajax/libs/iCheck/icheck.min.js"></script>
<script src="/ajax/libs/layer/layer.min.js?v=20210516"></script>
<script src="/ajax/libs/layui/layui.js?v=20210516"></script>
<script src="/common/js/common.js?v=4.6.2"></script>
<script src="/common/js/hm-ui.js?v=4.6.2"></script>

<!--<th:block th:include="include :: select2-js" />-->
<script src="/ajax/libs/bootstrap-tagsinput/tagsinput.min.js"></script>
<script src="/ajax/libs/bootstrap-switch/bootstrap-switch.min.js"></script>
<script src="/ajax/libs/jQuery-ui/jquery-ui.js"></script>
<script src="/ajax/libs/qxEasyUI/jquery.easyui.min.js"></script>
<script src="/js/telsendorder.js"></script>
<script src="/js/teladd.js"></script>

<script>
    var prefix = "/system/mMailWF";

    function passOrNoPass(sendRemark, backState) {
        $('#sendRemark').val(sendRemark);
        $('#backState').val(backState);
        if ($('#sendRemark').val() === '不同意') {
            $.modal.alert('不通过理由不能为空！');
        }else {
            var roleId = 304;
            if(roleId == 340 || roleId == 310|| roleId == 260|| roleId == 290) {
                $("#backState").val(41);
            }
            let data = $('#form-user-add').serializeArray();
            // data.push({name:"wfId",value:$('#pkId').val()})
            $.operate.saveTab(prefix + "/cmnFile/mmReturnReasonJson", data);
        }
    }

    function proposed() {
        let pkId = $('#pkId').val();
        var url = send + "/proposed/" + pkId;
        var width = '80%';
        $.modal.open('拟办部门', url, width);
    }

    //重新派单
    function reorder(){
        //工单id
        let wfId = 450425;
        let url = prefix + "/cmnFile/sendBackList/"+wfId;
        $.modal.open("承办部门",url);
    }

    $('#dfmClaNo').change(function () {
        var dfmClaName = $("#dfmClaNo option:selected").text();
        var txtDCntAName = $("#txtDCntAName").val();
        var fromName = $("#fromName").val();
        $("#wsTopic").val(fromName + '[' + dfmClaName + ']' + txtDCntAName);
    })
</script>
</body>
</html>

